<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/page/common/public.jspf"%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset=utf-8" />
<title>个人设置</title>
<link rel="stylesheet" type="text/css" href="${path}/css/base.css"/>
<link rel="stylesheet" type="text/css" href="${path}/css/layout.css"/>
<script src="${path }/js/common/jquery1.10.2.min.js"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/common/cookie.js?v=${v}"></script>
<link href="${skin }/theme.css" rel="stylesheet" type="text/css" />
<link href="${skin }/member.css" rel="stylesheet" type="text/css" />
<script src="${path }/js/account/gerenshezhi.js?v=${v}"></script>
</head>
<body bgcolor="#f9f9f9">
<c:if test="${user.isRealNameCheck=='YES'}">
<c:set var="isRealNameCheckCss" value="sect_auth_ism" />
</c:if>
<c:if test="${user.isRealNameCheck!='YES'}">
<c:set var="isRealNameCheckCss" value="sect_auth_ismno" />
</c:if>
<c:if test="${user.isEmailCheck=='YES'}">
<c:set var="isEmailCheckCSS" value="sect_auth_ism" />
</c:if>
<c:if test="${user.isEmailCheck!='YES'}">
<c:set var="isEmailCheckCSS" value="sect_auth_ismno" />
</c:if>
<c:if test="${user.isQuestionCheck=='YES'}">
<c:set var="isQuestionCheckCSS" value="sect_auth_ism" />
</c:if>
<c:if test="${user.isQuestionCheck!='YES'}">
<c:set var="isQuestionCheckCSS" value="sect_auth_ismno" />
</c:if>
<c:if test="${user.isMobileCheck=='YES'}">
<c:set var="isMobileCheckCSS" value="sect_auth_ism" />
</c:if>
<c:if test="${user.isMobileCheck!='YES'}">
<c:set var="isMobileCheckCSS" value="sect_auth_ismno" />
</c:if>
        <!-- head -->
<c:import url="../../include/top.jsp"></c:import>
    	<!--主体-->
        <div class="pageCenter registeredBox">
        	<div class="qyMsgBox">
        		<!--左边菜单  -->
            	<c:import url="../left.jsp"></c:import>
            	<!--左边菜单  -->
                <div class="qyMsgRight float_r">
                	 	<div class="auto_height" style="background: #fff;margin-bottom: 20px;">
							<div style="padding: 12px">
								<div class="hkjh_top_ul1_li1div1">个人设置</div>
							</div>
							
							<div class="sectle">
								<span class="sectle_t">您的账户安全等级：</span>
								<c:choose>
									<c:when test="${checkCount<3}">
									<span class="sectle_t0">低</span><span class="sectle_b"><span style="width:140px" class="sectle_0"></span></span>
									</c:when>
									<c:when test="${checkCount==3}">
									<span class="sectle_t0">中</span><span class="sectle_b"><span style="width:200px" class="sectle_1"></span></span>
									</c:when>
									<c:when test="${checkCount>3}">
									<span class="sectle_t0">高</span><span class="sectle_b"><span style="width:400px" class="sectle_2"></span></span>
									</c:when>
								</c:choose>
								
							</div>
							
							<div class="sect_auth">
										<div>
											<div class="sect_auth1">
													<div class="${isRealNameCheckCss}" id="sect_authno_css"><span></span></div>
												<div class="sect_auth_ismc">实名认证</div>
												<div class="sect_auth_ismt">保障账户安全,只有完成实名认证才能投资和借款</div>
												<div class="sect_auth_ismn">&nbsp;</div>
												<div><a href="javascript:void(0)" class="niuwa_a2" id="sect_author">认证</a></div>
						
											</div>
											<div class="clearfix"></div>
											<div class="sect_auth_isrz" style="display:none;" id="sect_author_div">
												<div class="sect_l" id="sect_authno">
													<div class="sect_zsxm clearfix">真实姓名&nbsp;&nbsp;<input class="sect_l_txt FC09" id="realName" type="text" value="${user.realName}" <c:if test="${user.isRealNameCheck=='YES'}">disabled="disabled"</c:if>></div>
													<div class="sect_zsxm clearfix">身份证号&nbsp;&nbsp;<input id="certNo" class="sect_l_txt FC09" type="text" value="${user.cardNumber}" <c:if test="${user.isRealNameCheck=='YES'}">disabled="disabled"</c:if>></div>
													<c:if test="${user.isRealNameCheck!='YES'}">
													<div>
														<input class="sect_submit" type="button" value="提交" id="realNameAuth">
														<span id="tipscretNo"></span>
													</div>
													</c:if>
												</div>
											</div>
											<div class="sect_auth_isbo"></div>
										</div>
										<div>
											<div class="sect_auth1">
												<div class="sect_auth_ism"><span></span></div>
												<div class="sect_auth_ismc">登录密码</div>
												<div class="sect_auth_ismt">上次登录时间：<fmt:formatDate value="${user.lastLoginTime}" pattern="yyyy-MM-dd HH:mm:ss"/></div>
												<div class="sect_auth_ismn">&nbsp;</div>
												<div><a href="javascript:void(0)" id="sect_pwd_c" class="niuwa_a2">修改</a></div>
											</div>
											<div class="clearfix"></div>
											<div class="sect_pwd_isrz" style="display:none;" id="updatePassword_div">
												<div class="sect_pwd" id="uppwdcon">
													<div class="sect_l clearfix">
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">旧登录密码</span><input id="oldPassword" class="sect_l_txt FC09" type="password"></div>
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">新密码</span><input id="npswd" class="sect_l_txt FC09" type="password"></div>
														<div class="sect_zsxm clearfix">
															<span class="sect_sp_o">安全程度</span>
															<span class="is0" id="passwordStrengths2"></span>
														</div>
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">确认新密码</span><input id="enterpwd" class="sect_l_txt FC09" type="password"></div>
														<div><input class="sect_pwdsubmit" id="updatepwd" type="button" value="提交"><span id="tipspwd"></span></div>
													</div>
												</div>
											</div>
											<div class="sect_auth_isbo"></div>
										</div>
										
										<div style="display:none;">
											<div class="sect_auth1">
												
												<div class="sect_auth_ismno"><span></span></div>
												
												<div class="sect_auth_ismc">交易密码</div>
												<div class="sect_auth_ismt">保障资金安全,充值,提现,投资等资金相关操作使用</div>
												<div class="sect_auth_ismn">&nbsp;</div>
												<div class="sect_auth_isbo"></div>
											</div>
											<div class="sect_auth_isbo"></div>
										</div>
										
						
										<div>
											<div class="sect_auth1" id="phonebind">
												
												<div class="${isMobileCheckCSS}" id="mobileCheckCSS"><span></span></div>
												
												<div class="sect_auth_ismc">手机绑定</div>
												<div class="sect_auth_ismt">绑定手机号码,账户资金变动实时通知</div>
												<div class="sect_auth_ismn">&nbsp;</div>
												<div>
													
														<a href="javascript:void(0)" id="sect_mo_bind" class="niuwa_a2" <c:if test="${user.isMobileCheck=='YES'}">style="display:none"</c:if>>绑定</a>
														<a href="javascript:void(0)" id="sect_mo_ch" class="niuwa_a2" <c:if test="${user.isMobileCheck!='YES'}">style="display:none"</c:if>>修改</a>
													
													
												</div>
											</div>
											<div class="clearfix"></div>
											<div class="sect_pwd_isbd">
												<div class="sect_bd">
													<div class="sect_l" id="mobilebind">
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">手机号</span><input class="sect_mobile FC09" id="fsetmobile" type="text"></div>
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">短信验证码</span>
															<input id="sect_mobilecode" type="text" class="FC09">
															<input id="sect_mobilecode_g" type="button" value="获取验证码">
														</div>
														<div>
															<input class="sect_pwdsubmit" id="mobilevaildsubmit" type="button" value="提交">
															<span id="tipsmobile"></span>
														</div>
													</div>
												</div>
											</div>
											<div class="sect_ch">
												
												
													<div style="margin-left:180px;" class="sect_sm"></div>
												
											</div>
											<!--通过原手机号码修改-->
											<div>
												<div class="sect_ac_pmo displaynone" id="mobilech" style="display: none;">
													<div class="sect_ac_pmo_t "></div>
													<div class="sect_zsxm clearfix"><span class="sect_sp_o">手机号码</span>
														
														<input class="sect_mobile FC09" id="sect_mobile_ch" value="${user.mobile}" readonly="readonly" type="text">
														
														<input id="sect_oldmobile" type="hidden" value="13482818463"></div>
													<div class="sect_zsxm clearfix"><span class="sect_sp_o">短信验证码</span>
														<input id="sect_ch_mobilecode" type="text" class="FC09">
														<input id="sect_ch_mobilecode_g" type="button" value="获取验证码">
														<input id="sect_ch_mobilecode_h" type="button" value="获取验证码" style="display: none;">
													</div>
													<div>
														<input class="sect_mobilenext" id="changemobilenext" type="button" value="提交">
														<span id="tipupmobile"></span>
													</div>
												</div>
												
												<!--通过验证进行下一步-->
												<div id="setnewmobile" class="sect_ac_pmo displaynone" style="display: none;">
													<div class="sect_ac_pmo_t sect_ac_pmo_next"></div>
													<div class="sect_zsxm clearfix"><span class="sect_sp_o">老手机号码</span><input id="sect_oldmobile" class="sect_mobile FC09" value="${user.mobile}" type="text" disabled="disabled"></div>
													<div class="sect_zsxm clearfix"><span class="sect_sp_o">新手机号码</span><input id="sect_newmobile" value="" class="sect_mobile FC09" type="text" maxlength="11"></div>
													<div class="sect_zsxm clearfix"><span class="sect_sp_o">短信验证码</span>
														<input id="sect_new_mobilecode" type="text" class="FC09">
														<input id="sect_new_mobilecode_g" type="button" value="获取验证码">
														<input id="sect_new_mobilecode_h" type="button" value="获取验证码" style="display: none;">
													</div>
													<div>
														<input class="sect_newmobilenext" id="upmobile" type="button" value="提交">
														<span id="tipsnewmobiles"></span>
													</div>
												</div>
												
											</div>
											<div class="sect_auth_isbo"></div>
										</div>
										<!--绑定修改邮箱-->
										<div>
											<div class="sect_bemail">
												<div class="${isEmailCheckCSS}"><span></span></div>
												<div class="sect_auth_ismc">邮箱绑定</div>
												<div class="sect_auth_ismt">获取最新的投资讯息和账户信息通知</div>
												<div class="sect_auth_ismn">&nbsp;</div>
												<div>
														<a href="javascript:void(0)" id="sect_bemail_b" class="niuwa_a2" <c:if test="${user.isEmailCheck=='YES'}">style="display:none"</c:if>>绑定</a>
														
														<a href="javascript:void(0)" <c:if test="${user.isEmailCheck!='YES'}">style="display:none"</c:if> id="sect_bemail_c" class="niuwa_a2">修改</a>
													
												</div>
											</div>
											<div class="clearfix"></div>
											
											<!--绑定-->
											<div class="displaynone" id="sect_bemail_bo" attr="sect_bemail_bo" style="display:none">
												<div id="newbindemail">
													<div class="sect_bemail_bo_1">
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">邮箱地址</span>
															<input id="emailaddres" class="sect_l_txt FC09" type="text" value="">
														</div>
														<div><input class="sect_emailsubmit" type="button" value="发送验证邮件" id="tipsemail_tj"><span id="tipsemail"></span></div>
													</div>
												</div>
											</div>
											
											<!--修改-->
											<div class="displaynone" id="sect_cemail_boc" attr="sect_cemail_boc" style="display:none">
												<div id="emailbindeform">
													<div class="sect_bemail_boc_1">
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">原邮箱</span><input id="oldemail" class="sect_l_txt FC09" type="text" value="${user.email}" disabled="disabled"></div>
														<div class="sect_zsxm clearfix"><span class="sect_sp_o">新邮箱地址</span><input id="newemail" class="sect_l_txt FC09" type="text"></div>
														<div><input class="sect_emailsubmitc" type="button" id="tipsemail_fs" value="发送验证邮件"> <span id="tipsupemail"></span></div>
													</div>
												</div>
											</div>
											<div class="sect_auth_isbo"></div>
										</div>
						
										<!--安全问题-->
										<div>
											<div class="sect_bereq">
												
														<div class="${isQuestionCheckCSS}" id="question_ico"><span></span></div>
													
												<div class="sect_auth_ismc">安全问题</div>
												<div class="sect_auth_ismt">轻松找回登录密码</div>
												<div class="sect_auth_ismn">&nbsp;</div>
												<div>
													<c:if test="${user.isQuestionCheck!='YES'}">
													<a href="javascript:void(0)" id="sect_bereq_b" class="niuwa_a2 ">设置</a>
													</c:if>
													<c:if test="${user.isQuestionCheck=='YES'}">
													<a href="javascript:void(0)" id="sect_bereq_c" class="niuwa_a2 ">修改</a>
													</c:if>
												</div>
											</div>
											<div class="clearfix"></div>
											<!--设置-->
											<div class="sect_bereq_bo_1 displaynone" id="question_div" style="display:none">
												<div class="sect_zsxm clearfix" >
													<span class="sect_sp_o">安全问题</span>
													<select id="questionTypeOne">
														<option value="">请选择</option>
														<c:forEach var="opt" items="${questionType}" >
														<option value="${opt}">${opt.text}</option>
														</c:forEach>
													</select>
												</div>
												<div class="sect_zsxm clearfix">
													<span class="sect_sp_o">答案</span>
													<input maxlength="20" class="sect_l_txt FC09" id="answerOne" type="text" size="50" >
												</div>
												<div>
													<input class="sect_emailsubmitqe" id="bdsaftyproblem" type="button" value="确定">
													<span id="tipsproblem"></span>
												</div>
											</div>
											<!-- 修改 -->
											<div class="sect_bereq_bo_1 displaynone" id="question_update_div" style="display:none">
												<div class="sect_zsxm clearfix" >
													<span class="sect_sp_o">老安全问题</span>
													<select id="questionTypeold">
														<option value="">请选择</option>
														<c:forEach var="opt" items="${questionType}" >
														<option value="${opt}" <c:if test="${user.questionType==opt}">selected="selected"</c:if>>${opt.text}</option>
														</c:forEach>
													</select>
												</div>
												<div class="sect_zsxm clearfix">
													<span class="sect_sp_o">答案</span>
													<input maxlength="20" class="sect_l_txt FC09" id="answerold" type="text" size="50" >
												</div>
												<div class="sect_zsxm clearfix">
													<span class="sect_sp_o">新安全问题</span>
													<select id="questionTypenew">
														<option value="">请选择</option>
														<c:forEach var="opt" items="${questionType}" >
														<option value="${opt}">${opt.text}</option>
														</c:forEach>
													</select>
												</div>
												<div class="sect_zsxm clearfix">
													<span class="sect_sp_o">答案</span>
													<input maxlength="20" class="sect_l_txt FC09" type="text" id="answernew" size="50">
												</div>
												<div>
													<input class="sect_emailsubmitqe" id="bdsaftyproblemnew" type="button" value="确定">
													<span id="tipsproblem"></span>
												</div>
											</div>
											<div class="sect_auth_isbo"></div>
										</div>
									</div>
						<br />
						<br />
						</div>
                </div>
                <div class="clear_both"></div> 
         	</div>       
    	<!--主体-->
	</div>
	 
<!--foot-->
<c:import url="../../include/foot.jsp"></c:import>
<!--foot--> 
	 
</body>
</html>

